package com.woniu.smart.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @author ：zhuboyuan
 * @date ：Created in 2022/10/20 23:12
 * @description：c{description}
 * @modified By：
 * @version: $
 */
@Data
public class VistorVo {

    private Integer visitorId;

    private String visitorName;

    private String visitorTel;
    private String visitorSex;
    private String visitorVx;
    private String visitorEdu;

    private Integer enterpriseId;

    private String enterpriseName;

    private Integer visitId;

    private Integer carId;
    private Integer staffsId;

    private String staffsName;

    private String staffsTel;

    private String visitName;

    private String carNum;

    private String roomName;

    private String buildingName;
    private String buildfloorName;

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date accessIn;


    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date accessOut;
}
